home *** CD-ROM | disk | FTP | other *** search
- 06600000302800
- 1
- 21st Word PlusPage #Printer Driver Generator
- F0110030
- 9[..........................................................]111
- Ŵ⇨PRINTERDRIVERGENERATOR
- €
- Ŵ⇨FOR
-
- Ŵ⇨FIRSTWORDPLUS
-
- Ŵ⇨Version1.00
- €
-
- ⇨Introduction
- €
- ThePrinterDriverGeneratorforFirstWordPlusisdesignedto
- removethenecessityforeditingtherathercomplexhexfiles.
- Instead,auser-friendlyprogramcanberunto'edit'thefile,and
- "1stInstall"canberunasnormalto"compile"theeditedsource.
-
- ⇨Limitations
- €
- ThecurrentversionofPDGcannoteditaloadedhexfileusing
- decimalcharacters.However,akeystrokemodeisavailablefor
- editing.
-
- Decimalmodemayonlybeusedfortheinitialentryofaprinter
- driver.Oncesaved,thecodesareconvertedintohex.
-
- The'P'notationforplaceholdersdescribedbelowistranslated
- intothenative'highbitset'notationwhenadriverissaved.It
- isnottranslatedbackwhenadriverisloaded.
-
- ⇨ModesofOperation
- €
- PDGhasthreebasicmodesofoperation:
-
- 1)ŴConfiguration€isusedtodefinethesixbytesofconfiguration
- status.Thismodeisdifferentfromtheotherssinceitis
- ⇦always€indecimalmode.
-
- 2)ŴPrinterCharacteristics€isusedtodefinethecontrolcodesto
- besenttotheprintertoperformcertaintasks.
-
- 3)ŴCharacterTranslation€isusedtodefinethesubsetofthe
- Archimedescharactersetthatmaybesenttotheprinter.It
- controlswhetheraparticularArchimedescharacteristobe
- ignored,sentdirectlytotheprinter,orbetranslatedintoa
- stringbeforebeingoutput.
-
- ⇨ColourCodes
- €
- ToassistthemajorityofArchimedesownerswhohaveacolour
- monitor,PDGusescolourthroughout.Thecolourcodesareas
- follows:
- Red -Promptforuserinput
- Cyan -Outputtext
- Green -Defaultvaluesanderrormessages
- Yellow -Userinput
-
- TheCharacterTranslationmodeusescolourinaslightlydifferent
- manner-seebelow.
-
- ø9[..........................................................]111
- ⇨StartingtheProgram
- €
- Onstartingtheprogram,theuserwillbegiventheoptionof
- loadinganexistingprinterdriverhexfile.Ifthisopportunityis
- taken,acatalogueofthedirectory"&.1WP.hex"isdisplayed,and
- theuserispromptedforafilename.Toavoidloadingafile,
- simplypressthe<Escape>key.Ifitcouldbefound,thespecified
- fileisthenloaded.
-
- ⇨Configuration
- €
- TheuserisnowplacedinŴConfiguration€mode.Uptosixquestions
- willbeasked.TheywilleitherwarrantaYes/Noora(decimal)
- numberanswer.Ifthepromptis'?',answerbypressing"Y"or"N".
- Ifthepromptis'===>'thenanswerbykeyingadecimalnumberand
- pressing<Return>.
-
- Ifany(green)valueappearsfollowingthe(red)prompt,thenthis
- isadefaultvalue.Toacceptit,justpress<Return>.
-
- %⇨PrinterCharacteristics
- €
- Thisisthemost-usedmodeoftheprogram.Variousquestionswill
- beasked,allofthemrequiringastringresponse(seebelow).The
- onlyexceptionstothisrulearetheYes/Noquestionsthatmayor
- maynotbeasked.Thesearedetailedbelow:
-
- Ŵ"Doyouwanttoinputdatainhex?"
- €Thisisonlyaskedifnoprinterdriverhasbeenpreviously
- loaded.IftheanswerisYes,allfurtherresponsesinthis
- sectionareassumedtobeinhex.IftheanswerisNo,further
- responsesareassumedtobeindecimal.
-
- Ŵ"DoyouwanttoincludecommandsforprintinginNLQ?"
- €Thisquestion,onlyaskedifdefiningadriverforamatrix
- printer,istosavethebotherofseparatelydefiningcodes
- forNLQ.IfthequestionisansweredwithYes,thecodesfor
- NLQwillbepromptedforseparately.IfansweredwithNo,the
- NLQcodeswillnotbepromptedfor.AnswerNoiftheprinter
- doesnotsupportNLQ,orifthehighlightcodesinNLQ⇦all€
- ⇦exactly€matchthoseindraftmode.
-
- ŴSpecifyingthecodestring
- €
- Thisisgenerallydonebykeyingastringofdecimalorhexnumbers
- (thetop-leftcornerofthescreenshowsthecurrentmode)
- separatedbyspaces.
-
- Forexample,thecodetoturnunderliningonforanEPSONFX
- printerisenteredindecimalas"⇦27451€"andinhexas"⇦1B2D1€".
- However,theprintermanualmaywelllistthissequenceas
- "⇦Esc '-' 1€".
-
- Fortunately,PDGdoesprovideanotherwayofspecifyingthecode
- string.For⇦printable€characters(andmostnon-printablecharac
- ters,butnotescape)itisquiteeasy.Simplypressthesingle
- quotekey"'"andthenpresstherequiredkey.Thesecondkeystroke
- madewillbeconvertedintotherelevantASCIIcode,anddisplayed
- ineitherhexordecimal,accordingtothecurrentsetting.Itis
- notnecessarytoentertheclosequote.So,indecimalmode,
- "⇦27 45 1€"maybeenteredas"⇦27 '-1€".
- €
- 9[..........................................................]111
- Inotherrespects,enteringacodestringissimilartoentering
- theconfigurationoptionsasabove,inthatthegreendefault
- propertyoccursherealso.Notehoweverthatifacodeistobe
- removedfromtheprinterdriver,andadefaultisgiven,pressing
- <Return>willacceptthedefault.Tocancelthedefault,press
- <Space>before<Return>.
-
- ŴUsingplaceholders
- €
- Certaincommands(forexampleverticaltab)requiretheuseofa
- placeholder.Aplaceholderbytesignifiesthepositioninwhich
- FirstWordPluswillinsertanumericvalueinthecommandstring.
- However,manyprinterswillnotacceptasimplevaluecountingfrom
- zero(as1stWordPluswishestooutput),sothefacilityexiststo
- force1stWordPlustoaddaconstanttothenumericvaluebefore
- output.Typically,aprinterwillrequire1stWordPlustoadd
- either1,0or32(tomakethecommandargumentaprintable
- character).
-
- Toinsertaplaceholder,simplytype'P'inthecommandstring.To
- force1stWordPlustoadd1use'P1'.Toadd32use'P32'in
- decimalmode,or'P20'inhexmode.
-
- Sinceplaceholdersareinternallystoredby'1stInstall'asbytes
- withthehighbitset,wheneditinganexistingfile,'P'will
- appearas'80','P1'as'81'and'P32'/'P20'as'A0'.Thusany
- charactervalueofgreaterthanhex7Fistreatedasaplaceholder.
-
- Thecommandsthatrequireplaceholdersareindicatedbythesuffix
- '⇦[P]€'intheprompt.
-
-
- ⇨ChangingCharacterTranslations
- €
- Oncethelastcharacteristichasbeenentered,theprogramgoes
- intoŴcharactertranslation€mode.AmatrixofArchimedescharacters
- isdisplayed,andthemousepointerappears.
-
- Ifacharacterisdisplayedinthematrixin⇦yellow€,itwillbe
- sentdirectlytotheprinter.Ifitisdisplayedin⇦red€,itwillbe
- ignoredatprinttime.Ifitisdisplayedin⇦green€,thenthereisa
- charactertranslationstringsetupforthatcharacter.
-
- Tochangethecolourofacharacterinthematrix(andhenceit's
- printeravailability),pointtoitwiththemouse,andpressthe
- relevantbutton:⇦Select€foryellow,⇦Menu€forgreen,and⇦Adjust€for
- Red.
-
- Whendefiningcharactertranslationsusingthe⇦menu€button,the
- samemethodisusedforinputasindefiningconfigurationstrings
- above.
-
- Oncethecharactermatrixisdefined,movethemousepointertothe
- magentaword"End"atposition127inthecharactermatrix
- (character127-delete-cannotberedefined)andpressanymouse
- button.
-
- ø9[..........................................................]111
- ⇨Savingthehexfile
- €
- Once"End"hasbeenselectedonthecharactermatrix,theuseris
- givenanopportunitytorepeatthewholedialogue.Ifonlyafew
- fieldswereoriginallyenteredinerror,thenthemethodof
- providingthepreviously-enteredvalueasadefaultmeansthatthe
- usercansimplypress<Return>toskipthisquestiongivingthe
- sameresponseaslasttime.
-
- Thisprocessmayberepeatedmanytimes.Oncetheoptionhasbeen
- selectedtosavethefile,processingcontinuesinasimilarmanner
- toloadingafile(seeabove).
-
- Acatalogueof"&.1WP.hex"isdisplayedifitisavailable,andthe
- userispromptedforafilename.Ifaprinterdriverwaspreviously
- loaded,it'sfilenamewillbethedefault.Ifnoprinterdriverwas
- loaded,thefirstwordoftheprinternamewillbeusedasa
- defaultfilename.Ifthiscontainsbadcharactersforafilename,
- ADFSwillgenerateanerror,andtheuserisre-promptedfora
- filename.
-
- ⇨AnyQueries
- €
- Ifyoustillhaveanyqueries,Iwillbegladtohelp-contactme
- viaPaulBeverleyof☓Archive€.
-
-